package com.zhongyouyun.admin.service;

import com.zhongyouyun.admin.model.JobModel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhongyouyun.admin.pojo.JobPojo;

import java.util.List;

/**
 * @Author: shenyi
 * @Date: 2022-12-16
 * @Description: 服务类
 */

public interface JobService extends IService<JobModel> {

    IPage<JobModel> selectPage(Page<JobModel> userPage, QueryWrapper<JobModel> queryWrapper);

    List<JobModel> selectList(QueryWrapper<JobModel> queryWrapper);

    IPage<JobPojo> selectPojoPage(Page page, QueryWrapper<JobPojo> queryWrapper);

    Boolean saveforUpdate(JobModel jobModel);

    Boolean removeforByIds(List<Long> list);
}
